{{ range first 10 (where site.RegularPages "Type" "in" site.Params.mainSections) }}
<article class="card posts">
    <a class="post-title-link" href={{ .RelPermalink }}><h1 class="card-title">{{ .Title }}</h1></a>
    <div class="post-content">
        {{ if .Truncated }}
            {{ .Summary }}
        {{ else }}
            {{ .Content }}
        {{ end }}
    </div>
    <div class="card-meta">
        <span class="card-time">
          <i class="icon-calendar"></i> 
          <time datetime={{.Date.Format "2006-01-02"}}></time>
          {{.Date.Format "2006-01-02"}}
        </span>
        {{ if .Params.tags }}
            {{ range .Params.tags }}
                <a href="{{ $.Site.LanguagePrefix | absURL }}tags/{{ . | urlize }}/" class="card-tag">
                  &nbsp#{{ . }}
                </a>
            {{ end }}
        {{ end }}
        <a class="button read-more" href={{ .RelPermalink }}> 阅读全文 </a>
    </div>
    <div id="read-info">字数：{{ .WordCount }} 阅读时间：{{ .ReadingTime }} 分钟</div>
</article>
{{ end }}
